#include <iostream>

using namespace std;

class person {
	public:
		int m_Age;

		person(int age): m_Age(age) {
		}

		void operator()(const person p) {
			cout << this->m_Age + p.m_Age << endl;
		}

		int  operator()(int a, int b) {
			return a + b;
		}

};

void test1() {
	person p1(18);
	person p2(20);

	p1(p2);
}

void test2() {
	person p1(18);
	int ret = p1(1, 1);

	cout << ret << endl;
}

int main() {
	//test1();
	test2();
	return 0;
}